package org.ljy.lotterysystem;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
public class LotterySystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(LotterySystemApplication.class, args);
    }


    /**
     *
     *
     * spring.application.name=lottery-system
     *
     * ## logback xml ##
     * logging.config=classpath:logback-spring.xml
     * spring.profiles.active=dev
     * # é¨ç½²åéè¦åæ
     * # spring.profiles.active=test
     *
     *
     * ## MySql ##
     * #驱动类名称
     * spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
     * #链接数据库url
     * spring.datasource.url=jdbc:mysql://127.0.0.1:3306/lottery_system?characterEncoding=utf8&useSSL=false
     * #链接数据库用户名
     * spring.datasource.username=root
     * #链接数据库密码
     * spring.datasource.password=2003
     *
     *
     * ## MyBatis ##
     * ## MyBatis ##
     * #Mapper.xml 文件路径
     * #mybatis.mapper-locations=classpath:mapper/*Mapper.xml
     * #驼峰自动转换 user_id->userId
     * mybatis.configuration.map-underscore-to-camel-case=true
     * mybatis.type-handlers-package=org.ljy.lotterysystem.dao.handler
     *
     *
     *
     * ## 短信 ##
     * sms.access-key-id=LTAI5tGMTXSW2VQaZX4Rmqhv
     * sms.access-key-secret=EmR0MGoF5V5BwOxNFg4iKxfOq5Awix
     * sms.sign-name=ljy666
     *
     *
     * ## redis ##
     * spring.data.redis.host=localhost
     * spring.data.redis.port=8888
     * # 连接空闲超过N(s秒、ms毫秒)后关闭，0为禁⽤，这⾥配置值和tcp-keepalive值⼀致
     * spring.data.redis.timeout=60s
     * # 默认使⽤ lettuce 连接池
     * # 允许最⼤连接数，默认8（负值表⽰没有限制
     * spring.data.redis.lettuce.pool.max-active=8
     * # 最⼤空闲连接数，默认8
     * spring.data.redis.lettuce.pool.max-idle=8
     * # 最⼩空闲连接数，默认0
     * spring.data.redis.lettuce.pool.min-idle=0
     * # 连接⽤完时，新的请求等待时间(s秒、ms毫秒)，超过该时间抛出异常JedisConnectionException，(默认-1，负值表⽰没有限制)
     * spring.data.redis.lettuce.pool.max-wait=5s
     *
     *
     * ## 文件上传 ##
     * # 目标路径
     * pic.local-path=D:/PIC
     * # spring boot3 升级配置名
     * spring.web.resources.static-locations=classpath:/static/,file:${pic.local-path}
     *
     * #最大上传图片
     * spring.servlet.multipart.max-file-size=50MB
     *
     * ## mq ##
     * spring.rabbitmq.host=8.138.121.41
     * spring.rabbitmq.port=5672
     * spring.rabbitmq.username=study
     * spring.rabbitmq.password=study
     * #spring.rabbitmq.virtual-host=test01
     * #spring.rabbitmq.addresses==amqp://admin:admin@8.138.121.41:5672/test01
     * #消息确认机制，默认auto
     * spring.rabbitmq.listener.simple.acknowledge-mode=auto
     * #设置失败重试 5次
     * spring.rabbitmq.listener.simple.retry.enabled=true
     * spring.rabbitmq.listener.simple.retry.max-attempts=5
     *
     *
     *
     */






}
